﻿<?php
require_once 'framework/components/SimpleResultTable.class.php';
require_once 'service/RestauranteServiceImpl.class.php';

$restauranteService  = new RestauranteServiceImpl();
$queryResult = $restauranteService->getAll();
$srt = new SimpleResultTable("listaRestaurante",array("id", "nome"),$queryResult);

?>


<form id="formRestaurante" action="index.php?f=removeRestaurante.do" method="POST">
	<?php $srt->show();?>
	<input type="submit" value="Remover" />
</form>

